package com.ml.mall.bean.req.partner;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.util.Date;
import java.util.List;

/**
 *   @description    :description 
 *   @author         :zxm
 *   @date           :2021/5/19
 *   @version        :1.0
**/
@ApiModel(value = "合作商新增model")
@Data
public class PartnerNewDto {
    @ApiModelProperty(value = "感兴趣产业id")
    @NotEmpty(message = "感兴趣产业不能为空")
    private List<Long> industryArr;

    @ApiModelProperty(value = "电话")
    @NotBlank(message = "电话不能为空")
    private String phoneNo;

    @ApiModelProperty(value = "图片")
    @NotBlank(message = "图片不能为空")
    private String logoUrl;

    @ApiModelProperty(value = "邀请码")
    @NotBlank(message = "邀请码不能为空")
    private String inviteCode;

    @ApiModelProperty(value = "公司名称")
    @NotBlank(message = "公司名称不能为空")
    private String companyName;
}
